package com.lidroid.xutils.bitmap.core;

import ohos.media.image.PixelMap;
import ohos.agp.animation.Animator;

public class BitmapDisplayConfig {

    private int bitmapWidth;
    private int bitmapHeight;

    private Animator animation;

    private int animationType;
    private PixelMap loadingBitmap;
    private PixelMap loadFailedBitmap;


    public int getBitmapWidth() {
        return bitmapWidth;
    }

    public void setBitmapWidth(int bitmapWidth) {
        this.bitmapWidth = bitmapWidth;
    }

    public int getBitmapHeight() {
        return bitmapHeight;
    }

    public void setBitmapHeight(int bitmapHeight) {
        this.bitmapHeight = bitmapHeight;
    }

    public Animator getAnimation() {
        return animation;
    }

    public void setAnimation(Animator animation) {
        this.animation = animation;
    }

    public int getAnimationType() {
        return animationType;
    }

    public void setAnimationType(int animationType) {
        this.animationType = animationType;
    }

    public PixelMap getLoadingBitmap() {
        return loadingBitmap;
    }

    public void setLoadingBitmap(PixelMap loadingBitmap) {
        this.loadingBitmap = loadingBitmap;
    }

    public PixelMap getLoadFailedBitmap() {
        return loadFailedBitmap;
    }

    public void setLoadFailedBitmap(PixelMap loadFailedBitmap) {
        this.loadFailedBitmap = loadFailedBitmap;
    }


    public static class AnimationType {
        public static final int userDefined = 0;
        public static final int fadeIn = 1;
    }

}
